/*TCSS 360 ConferenceGuru
 * 
 * Darrion
 * 
 * This class is a model for the review of a conference paper.
 * The review is created by a reviewer and read by the author and
 * the subprogram chair that was assigned the paper that this revivew
 * was created for.
 */
package model;

import java.io.File;
import java.io.Serializable;

public class Review  implements Serializable{

	private static final long serialVersionUID = -3232537576631614984L;
	private final String reviewer;
	private File review;
	private boolean is_reviewed;
	
	public Review(String the_reviewer, File the_review) {
		this.reviewer = the_reviewer;
		this.review = the_review;
	}

	// This method sets the text for this review
	public void setReview(File the_review)
	{
		this.review = the_review;
		is_reviewed = true;
	}

	// This method gets the text for this review
	public File getReview()
	{
		return review;
	}
	
	// This method gets the name of the reviewer
	public String getReviewer()
	{
		return reviewer;
	}
	
	public boolean isReviewed()
	{
		return is_reviewed;
	}

}
